package org.mcb.zebra.portal.url;

import javax.portlet.PortletMode;
import javax.portlet.WindowState;

import org.apache.pluto.PortletWindow;
import org.mcb.zebra.portal.window.ZebPortletWindow;

public class ZebPortalUrl extends PortalUrl {

	@Override
	public void setPortletMode(PortletWindow portletWindow, PortletMode mode) {
		ZebPortletWindow window = (ZebPortletWindow)portletWindow;
		window.setPortletMode(mode);
		
	}

	@Override
	public void setWindowStatus(PortletWindow portletWindow, WindowState state) {
		ZebPortletWindow window = (ZebPortletWindow)portletWindow;
		window.setWindowState(state);
		
	}

}
